*** Settings ***
#Library     Timeout
Resource    ./utll/api.robot
Suite Setup    Log    ${a}
*** Variables ***

*** Test Cases ***
Run_o
    [Tags]    open baidu
    [Setup]    seturl    baidu
    ${res}=    open_baidu
    BuiltIn.Should Be Equal As Strings    ${res}    200
    [Teardown]    tearurl    baidu

Run_s
    [Tags]    search keyword baidu
    [Setup]    seturl    search_baidu
    ${res}=    baidu_search_keyword
    BuiltIn.Should Be Equal As Strings    ${res}    200
    [Teardown]    tearurl    search_baidu

Run_b_o
    [Tags]    open bing
    [Setup]    seturl    bing
    ${res}=    open_bing
    BuiltIn.Should Be Equal As Strings    ${res}    200
    [Teardown]    tearurl    bing

Run_b_s
    [Tags]    search keyword bing
    [Setup]    seturl    search_bing
    ${res}=    bing_search_keyword
    BuiltIn.Should Be Equal As Strings    ${res}    200
    [Teardown]    tearurl    search_bing